package DBLayer;
import ModelLayer.*;

import java.util.ArrayList;

public interface IFDBCustomer {
	// get all Customers
    public ArrayList<Customer> getAllCustomer(boolean retriveAssociation);
    //get one Customer having the customerId
    public Customer findCustomer(int customerId, boolean retriveAssociation);
    //find one Customer having the Customer name 
    public Customer searchCustomerOnName( String name, boolean retriveAssociation);
   //update customer
    public int update(Customer cust);
    //delete Customer
	public int insertCustomer(Customer cus, boolean b);
	//delete Customer
	public int deleteCustomer(int customerId);
}